<?php slot('article')?>
<div class="whitepage">
	<p class="txtstyle4"><?php echo __('Otsingu tulemused') ?>: "<strong><?php echo $keyword ?></strong>"</p>
	<p>&nbsp;</p>
	<?php foreach($products as $item): ?>
		• <a class="otsingutulemus" href="<?php echo LinkGen::getInstance(LinkGen::PRODUCT)->link($item['id']); ?>"><?php echo $item['name'] ?></a>

		<?php $section = $helper->getItemSection($item) ?>
		<?php if($section): ?>
			(<span style="color: <?php echo CustomizationHelper::dark($section) ?>;"><?php echo $section['title'] ?></span>)
		<?php endif; ?>
		<br>
	<?php endforeach; ?>

	<?php foreach($news as $item): ?>
	• <a class="otsingutulemus" href="<?php include_component('linker', 'newsItem', array('new' => $item)) ?>"><?php echo $item['name'] ?></a>

		<?php $section = $helper->getItemSection($item) ?>
		<?php if($section): ?>
			(<span style="color: <?php echo CustomizationHelper::dark($section) ?>"><?php echo $section['title'] ?></span>)
		<?php endif; ?>
		<br>
	<?php endforeach; ?>

	<?php foreach($nodes as $item): ?>
	• <a class="otsingutulemus" href="<?php include_component('linker', 'articleLinkBuilder', array('node' => $item)) ?>"><?php echo $item['title'] ?></a>

		<?php $section = $helper->getItemSection($item) ?>
		<?php if($section): ?>
			(<span style="color: <?php echo CustomizationHelper::dark($section) ?>;"><?php echo $section['title'] ?></span>)
		<?php endif; ?>
		<br>
	<?php endforeach; ?>
	
	<p>&nbsp;</p>
	<p><a style="background: url(/anima/images/grey_arrow_back.png) no-repeat scroll left 3px transparent; padding-left: 16px;" href="javascript:history.go(-1)"><?php echo __('Tagasi') ?></a><br>
	</p>
</div>
<?php end_slot()?>